package net.sevear.chaos.event
{
	import flash.events.Event;
	
	import net.sevear.chaos.vo.TrackInfo;
	
	public class KeeperEvent extends Event
	{
		public static const DOWN_TRACK_COMPLETE:String = "Downloading track completed";
		public static const IO_ERROR:String = "IO error happened when downloading";
		public static const TIMEOUT_ERROR:String = "Time out when downloading";
		public static const KEEPER_ENABLE_CHANGED:String = "Keeper enable changed";
		public static const TRACK_FILE_EXISTED:String = "Music File has existed";
		public static const LIST_FINISHED:String = "Down queue list has finished";
		
		private var _track:TrackInfo;
		public function KeeperEvent(type:String,track:TrackInfo=null)
		{
			_track = track;
			super(type, false, false);
		}
		
		public function get downTrack():TrackInfo{
			return _track;
		}
	}
}